package org.Lin.model;

import java.time.LocalDateTime;

public class FriendList {
    private int ID;
    private int user1Id;
    private int user2Id;
    private String relationStatus;
    private LocalDateTime createdAt;
    private LocalDateTime lastModified;

    // Getters and Setters
    public int getID() { return ID; }
    public void setID(int ID) { this.ID = ID; }

    public int getUser1Id() { return user1Id; }
    public void setUser1Id(int user1Id) { this.user1Id = user1Id; }

    public int getUser2Id() { return user2Id; }
    public void setUser2Id(int user2Id) { this.user2Id = user2Id; }

    public String getRelationStatus() { return relationStatus; }
    public void setRelationStatus(String relationStatus) { this.relationStatus = relationStatus; }

    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }

    public LocalDateTime getLastModified() { return lastModified; }
    public void setLastModified(LocalDateTime lastModified) { this.lastModified = lastModified; }

    @Override
    public String toString() {
        return "FriendList{" +
                "ID=" + ID +
                ", user1Id=" + user1Id +
                ", user2Id=" + user2Id +
                ", relationStatus='" + relationStatus + '\'' +
                '}';
    }
}
